package com.itbaizhan.springsecuritydemo1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itbaizhan.springsecuritydemo1.pojo.Permission;
import com.itbaizhan.springsecuritydemo1.pojo.Users;

import java.util.List;

public interface UserMapper extends BaseMapper<Users> {
    //根据名字去查找
    List<Permission> findByPermission(String  username);
}
